import jieba
# 可以在里面进行词频和词性的标注
jieba.load_userdict("./data/userdict.txt")



data = "我喜欢c语言"


import sys, io
sys.stdout = io.TextIOWrapper(sys.stdout.buffer, encoding="utf-8")


import jieba.posseg as pseg
res = pseg.cut(data)


for i,j in res:
	print(i,j)

